package com.ropeok.entity;

/**
 * @BelongsProject: task2
 * @BelongsPackage: com.ropeok.entity
 * @Author: zhofeifan
 * @CreateTime: 2022-08-23  14:21
 * @Description: 角色
 * @Version: 1.0
 */
public class Role {
    private  long id;//id
    private String roleName; //角色名

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                '}';
    }

    public Role() {
    }

    public Role(long id, String roleName) {
        this.id = id;
        this.roleName = roleName;
    }
}
